﻿using Frame.Core.Models;
using System.Threading.Tasks;

namespace Frame.Core.IServices.Admin
{
    public interface IRoleService : IBaseService<Roles>
    {
        /// <summary>
        /// 查询引用过的用户数
        /// </summary>
        /// <param name="titleID"></param>
        /// <returns></returns>
        Task<long> GetRoleUsersCountById(int roleID);
    }
}
